package com.dyzx.hbb.modules.fcxs.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * 客户添加视图对象
 *
 * @author AI Assistant
 * @date 2023-07-10
 */
@Schema(description = "客户添加视图对象")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FcxsCustomerVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 客户名称
     */
    @Schema(description = "客户名称")
    @JsonProperty("name")
    private String name;
    /**
     * 联系电话
     */
    @Schema(description = "联系电话")
    @JsonProperty("phone")
    private String phone;

    /**
     * 证件号
     */
    @Schema(description = "证件号")
    @JsonProperty("card_num")
    private String cardNum;

    /**
     * 生日
     */
    @Schema(description = "生日")
    @JsonProperty("birthday")
    private Long birthday;

    /**
     * 年龄
     */
    @Schema(description = "年龄")
    @JsonProperty("age")
    private Integer age;

    /**
     * 性别  字典信息：sys_global_sex
     */
    @Schema(description = "性别  字典信息：sys_global_sex")
    @JsonProperty("sex")
    private Integer sex;

    /**
     * 身份证-正面
     */
    @Schema(description = "身份证-正面")
    @JsonProperty("card_front")
    private Long cardFront;

    /**
     * 身份证-反面
     */
    @Schema(description = "身份证-反面")
    @JsonProperty("card_back")
    private Long cardBack;

    /**
     * 备注
     */
    @Schema(description = "备注")
    @JsonProperty("remark")
    private String remark;

    /**
     * 状态 字典信息：sys_global_status
     */
    @Schema(description = "状态 字典信息：sys_global_status")
   // @NotNull(message = "状态 字典信息：sys_global_status不能为空")
    @JsonProperty("status")
    private Integer status;


}
